//package com.qtcm.nas.jhx.yingyee.web;
//
//import com.qtcm.nas.jhx.bendianpinglun.pojo.Reservation_form;
//import com.qtcm.nas.jhx.bendianpinglun.service.IYuyueservice;
//import com.qtcm.nas.jhx.chongzhi.service.IYushouservice;
//import com.qtcm.nas.jhx.dianpu.service.IDianpuservice;
//import com.qtcm.nas.jhx.pingjia.service.IPinglunservice;
//import com.qtcm.nas.jhx.yeji.service.IYejiservice;
//import com.qtcm.nas.jhx.yingyee.service.IYingyeeservice;
//import com.qtcm.nas.jhx.yuangong.service.IYuangongservice;
//import org.springframework.stereotype.Controller;
//import org.springframework.ui.Model;
//import org.springframework.web.bind.annotation.RequestMapping;
//
//import javax.annotation.Resource;
//import javax.servlet.http.HttpServletRequest;
//import javax.servlet.http.HttpSession;
//import java.util.List;
//
//@Controller("yingyeeController")
//@RequestMapping("/admin/car/bosssystem")
//public class YingyeeController {
//    @Resource(name = "yuyueservice")
//    private IYuyueservice yuyueservice;
//    @Resource(name = "yuangongservice")
//    private IYuangongservice yuangongservice;
//    @Resource(name = "pinglunservice")
//    private IPinglunservice pinglunservice;
//    @Resource(name = "yushouservice")
//    private IYushouservice yushouservice;
//
//    @RequestMapping("/findcount2")
//    public String findcount2(HttpServletRequest request, Integer G_state, Model model, HttpSession session) {
//
//        Integer G_state1 = yuyueservice.findcount();//门店数据,今日实时数据的已洗数量
//        model.addAttribute("G_state1", G_state1);
//        session.setAttribute("G_state1", G_state1);
//        return "redirect:countpj2";
//    }
//
//    @RequestMapping("/countpj2")
//    public String countpj2(Model model, HttpSession session, String D_scorce, Integer i1) {
//        i1 = pinglunservice.countpingjia();
//        session.setAttribute("i1", i1);
//        return "redirect:counthpj1";
//    }
//
//    @RequestMapping(value = "/counthpj1")
//    public String counthpj1(Model model, HttpSession session, Integer i2, HttpServletRequest request) {
//        i2 = pinglunservice.counthpj();
////        model.addAttribute("i2",i2);
//        session.setAttribute("i2", i2);
//        return "redirect:countcpj1";
//    }
//
//    @RequestMapping(value = "/countcpj1")
//    public String countcpj1(Model model, HttpSession session, Integer i3, HttpServletRequest request) {
//        i3 = pinglunservice.countcpj();
////        model.addAttribute("i3",i3);
//        session.setAttribute("i3", i3);
//        return "redirect:findcount3";
//    }
//
//    @RequestMapping("/findcount3")
//    public String findcount3(HttpServletRequest request, Integer G_state2, Model model, Reservation_form r, HttpSession session) {
//        G_state2 = yuyueservice.findcount1();//排队车辆
////        model.addAttribute("G_state2", G_state2);
//        session.setAttribute("G_state2", G_state2);
//        return "redirect:zongqian";
//    }
//    @RequestMapping("zongqian")
//    public String zongqian(HttpServletRequest request,Integer zong,Model model,HttpSession session){
//        int zongqian=yushouservice.zongqian();
////        model.addAttribute("zongqian",zongqian);
//        session.setAttribute("zongqian",zongqian);
//        return "redirect:jine1";
//    }
//    @Resource
//    private IYingyeeservice yingyeeservice;
//    @RequestMapping(value = "/jine1")
//    public String jine1(Model model, Integer E_money, HttpSession session) {
//        System.out.println("*****************");
//        List list2 = yingyeeservice.jine();
//        int i6 = (int) list2.get(6);
////        int huiyuanxiaofei2=i+i1+i2+i3+i4+i5+i6;
//
////        model.addAttribute("i6", i6);//当日会员消费
//        session.setAttribute("i6",i6);//当日会员消费
////        return "redirect:chongqiann";
//        return "redirect:dianpu";
//    }
//    @Resource(name = "dianpuservice")
//    private IDianpuservice dianpuservice;
//    @RequestMapping(value = "dianpu")
//    private String dianpu(Model model, HttpSession session){
//        List list=dianpuservice.dianpu();
//        String dianming= (String) list.get(0);
//        String dianming1= (String) list.get(1);
//        model.addAttribute("dianming",dianming);
//        model.addAttribute("dianming1",dianming1);
//        return "today_storedata";
//    }
//
//}
